
<div id="wrapper-content">    
    <?php echo form_open_multipart('actualite/add_news') ?>
    <table class="titrepage" width="100%">
        <tr>
            <td >Ajouter Actualit&eacute;</td>
            <td align="right"> </td>
        </tr>
    </table>
    <table class="list" cellpadding="10px" cellspacing="0" width="100%">
        <tr>
            <td><label for="fr_title">Titre</label></td>
            <td><input type="text" size="50" name="txtFrTitle" value="<?php echo set_value('txtFrTitle') ?>"><?php echo form_error('txtFrTitle'); ?></td>
        </tr>
        <tr>
            <td>Image</td>
            <td><input type="file" name="userfile" size="20"><?php if (isset($error))
        echo $error; ?></td>
        </tr>
        <tr>
                <td valign="top"><a href="#">Résumé</a></td>
                <td colspan="2">
                    <?php
                    $data = array('name' => 'intro',
                        'id' => 'txtDes',
                        'width' => '610',
                        'height' => '250',
                        'value' => ''
                    );
                    echo form_fckeditor($data);
                    ?>
                </td>
            </tr>
            <tr>
                <td valign="top"><a href="#" id="frDesLink">Contenu</a></td>
                <td colspan="2">
                    <?php
                    $data = array('name' => 'txtFrDes',
                        'id' => 'txtDes',
                        'width' => '610',
                        'height' => '400',
                        'value' => ''
                        );
                    echo form_fckeditor($data);
                    ?>
                </td>
            </tr>
        <tr>
            <td></td>
            <td><input type="submit" name="submit" value="Ajouter"/a></td>
        </tr>
    </table>
    <?php echo form_close(); ?>
</div>